package com.engineering.elink.dao;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.Praise;

public interface PraiseMapper {
    int deleteByPrimaryKey(Integer praiseId);

    int insert(Praise record);

    int insertSelective(Praise record);

    Praise selectByPrimaryKey(Integer praiseId);

    int updateByPrimaryKeySelective(Praise record);

    int updateByPrimaryKey(Praise record);

    int select(@Param("commentId")Integer commentId, @Param("type")Integer type, @Param("userId")String userId);
}